//
//  QRCodePermissions.h
//  QRCodeDemo
//
//  Created by XZY on 2018/7/23.
//  Copyright © 2018年 xiezongyuan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface QRCodePermissions : NSObject
/// 是否允许使用相机
+ (BOOL)allowCamera;
/// 请求相机权限
+ (void)requestCamera:(void(^)(BOOL allow))completion;

/// 是否允许使用相册
+ (BOOL)allowAlbum;
/// 请求相册权限
+ (void)requestAlbum:(void(^)(BOOL allow))completion;
@end
